package com.yicoollxing.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yicoollxing.pojo.Food;

public interface FoodMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Food record);

    int insertSelective(Food record);

    Food selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Food record);

    int updateByPrimaryKey(Food record);
    
    List<Food> selectByMid(Integer mid);
    
    List<Food> selectByIdAndName(@Param("mid")Integer mid,@Param("foodId")Integer foodId,@Param("foodName")String foodName);
}